package com.jh3502.vivo.utils;

import android.Manifest;

public class Constant {
    public static final String PROJECT_NAME = "3502_helper";
    public static final int DOUBLE_CLICK = 2000;
    public static final String APP_TOKEN = "Authorization";
    public static final int UNKNOW_ERROR_CODE = -1;
    public static final String UNKNOW_ERROR_MESSAGE = "unknow error";
    public static final int SESSION_TIMEOUT = 10000;
    public static final int REQUEST_CODE_IMAGE = 123;
    public static final int REQUEST_CODE_CAMERA = 223;
    public static final int REQUEST_CODE_VIDEO = 323;
    public static final int REQUEST_CODE_VIDEO_CAMERA = 423;
    public static final int REQUEST_PERMISSION_CODE = 666;
    public static final String TIMEOUT_EXCEPTION = "java.net.SocketTimeoutException";
    public static final String ACTIVITY_NAME = "activity_name";
    public static final int LIST_EMPTY = 10002;
    public static final int TYPE_TRAVEL = 0;
    public static final int TYPE_REIM = 1;
    public static final int TRAVEL_START = 0;
    public static final int TRAVEL_APPROVE = 1;
    public static final int REIM_START = 0;
    public static final int REIM_APPROVE = 1;


    public static final String[] PERMISSIONS = {
            Manifest.permission.CAMERA,
            Manifest.permission.ACCESS_FINE_LOCATION,
            Manifest.permission.ACCESS_COARSE_LOCATION,
            Manifest.permission.READ_EXTERNAL_STORAGE,
            Manifest.permission.WRITE_EXTERNAL_STORAGE,
            Manifest.permission.READ_PHONE_STATE,
            Manifest.permission.CHANGE_WIFI_STATE,
            Manifest.permission.INTERNET,
            Manifest.permission.ACCESS_NETWORK_STATE,
            Manifest.permission.WRITE_SETTINGS,
            Manifest.permission.ACCESS_WIFI_STATE,
    };
}